Nexi\WC_Nexi_Helper S

Total Complexity 47
Dependencies 3
Dependents 35
Total lines 249
Lines of code 146
Logical lines of code 70
Comment lines 29
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_xpay_cards()
S
53 4 22
get_npg_cards()
S
53 4 22
get_xpay_post_meta()
S
57 3 16
order_or_cart_contains_subscription()
S
77 3 3
nexi_array_key_exists()
S
77 3 3
enable_payment_method()
S
67 3 7
cart_contains_subscription()
S
78 2 3
div_bcdiv()
S
69 2 6
mul_bcmul()
S
69 2 6
get_nexi_settings()
S
64 2 10
nexi_is_gateway_NPG()
S
70 2 6
nexi_is_gateway_XPay()
S
70 2 6
nexi_is_build()
S
70 2 6
is_google_button_enabled()
S
70 2 6
is_apple_button_enabled()
S
70 2 6
nexi_array_key_exists_and_equals()
S
77 2 3
nexi_array_key_exists_and_in_array()
S
77 2 3
get_xpay_available_methods()
S
73 2 4
get_npg_available_methods()
S
73 2 4
get_nexi_template_path()
S
75 1 4